home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 13303 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.2 KB  |  45 lines

  1. Path: news.uh.edu!usenet
  2. From: Sensarn <txs53132@bayou.uh.edu>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: How to clear screen?
  5. Date: Sun, 24 Mar 1996 09:37:53 -0800
  6. Organization: AEtna Insurance Agency
  7. Message-ID: <31558871.7B2E@bayou.uh.edu>
  8. References: <4gmalh$csq@cloner3.netcom.com> <Pine.A32.3.91.960228152731.19882A-100000@pegasus.acs.ttu.edu> <315527F6.3880@ljusdal.se>
  9. NNTP-Posting-Host: sip-16653.public-dialups.uh.edu
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=iso-8859-1
  12. Content-Transfer-Encoding: 8bit
  13. X-Mailer: Mozilla 2.01 (Win16; I)
  14.  
  15. Marcsu wrote:
  16. > akefay oscarway ayermay einerway wrote:
  17. > > > Is there a function to clear a text screen?
  18. > > #include <conio.h> // for clear screen function
  19. > > clrscr();
  20. > > this is for dos ...the header file is different for unix, and I do
  21. > > not know what it is....you can probably do a man on the function, or
  22. > > maybe not.
  23. > There┤s someone out there who knows what, the clear screen , function
  24. > etc. (header file), is called under UNIX(Linux), please post!!!
  25. > /marcsu
  26. > marcus.berggren@ljusdal.se
  27.  
  28. I use this:
  29.  
  30. asm {
  31.     mov ax,0x0003
  32.     int 0x10
  33. }
  34.  
  35. but then again, I use DOS...
  36. -- 
  37. ______________________________
  38.  
  39. Steven Sensarn
  40. E-Mail - txs53132@bayou.uh.edu
  41. ______________________________
  42.